import Vue from "./index.js";
const app = new Vue({
  el: "#app",
  data: {
    name: "张三",
    age: 16,
  },
  computed: {
    getAge() {
      console.log('getAge 执行了')
      return this.age + '岁了';
    },
    getName() {
      return this.name + "是个好人";
    },
  },
});


window.$vm = app